All calls based on Docs found at:
https://kb.givenergy.cloud/article.php?id=5

Does not include the new Battery API as the API is slightly different to execute. That will follow. 

You will need to edit the .ps1 files in notepad/PowerShell with your own API Key / Inverter Serial etc....before running them (right click > Run in Powershell) 

You may get asked to allow execution with either a "y" or "a" - Can't quite remember as it only does it once. 


These only run once then close. You can either make them loop yourselves for constant update or call them from Windows Task Scheduler (in which case they will run silently without the window popping up)




Output is JSON in a .txt file. If you need to change the file names to something else then edit the scripts such as:



$Giv_En_Bat.Content | Out-File -FilePath .\InvData_Now.txt   

>>>>Change to>>>>>  

$Giv_En_Bat.Content | Out-File -FilePath .\InvData_Changed_File_Name.json


Thanks

Terravolt